<?php if (!defined('THINK_PATH')) exit();?>
<form action="<?php echo U('add');?>" method="post">
<table>
	<tr>
		<td>类型ID</td>
		<td>社区类型名称</td>
		<td>操作</td>
	</tr>
<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
		<td><?php echo ($vo["id"]); ?></td>
		<td><?php echo ($vo["type_name"]); ?></td>
		<td>
			<a href="<?php echo U('delete');?>?id=<?php echo ($vo["id"]); ?>">删除</a>
		<td>
	</tr><?php endforeach; endif; else: echo "" ;endif; ?>
	<tr>
		<td></td>
		<td><input type="text" name="name" ></td>
		<td><input type="submit"></td>
	</tr>
</table>
</form>